﻿.schedule-wrap {
    position: relative;
}
.schedule-wrap h2 {
    display: inline-block;
    margin-bottom: 0;
    padding: 0.75rem 2rem 0.75rem 1rem;
    background-color: var(--bs-main);
    color: #fff;
    border-top-right-radius: 1rem;
}

.schedule-list-wrap {
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.noti-inner {
    background-color: #fff;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 0.75rem;
    position: relative;
}

    .noti-inner h2 {
        background-color: var(--bs-bg-color);
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 0.75rem;
        margin-bottom: 0;
    }

.noti-inner ul {
    padding: 1rem;
    list-style-type: none;
}

.noti-inner li a {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem;
    text-decoration: none;
    border: 2px dotted transparent;
    color: var(--bs-main);
    border-radius: 0.4rem;
}

.noti-inner li a:hover, .noti-inner li a:focus {
    border: 2px dotted var(--bs-main);
}

.noti-inner li .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.noti-inner li .date {
    white-space: nowrap;
}

.noti-inner .more {
    position: absolute;
    right: 1.5rem;
    top: 0.6rem;
    padding: 0.5rem;
    line-height: 0;
    border: 1px solid #ccc;
    font-size: 1.6rem;
    width: 2.6rem;
    height: 2.6rem;
    background-color: #fff;
    border-radius: 50%;
}

#favoriteMenu {
    display: flex;
    align-items: stretch;
    width: 100%;
    background-color: transparent;
}

#favoriteMenu h2 {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: var(--bs-main);
    border-radius: 16px 16px 0 0;
    padding: 1rem;
}

#favoriteMenu ul {
    width: 100%;
    padding: 28px 44.5px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    border-radius: 0 16px 16px 0;
    background-color: #eee;
    list-style-type: none;
    flex-wrap: wrap;
    row-gap: 30px;
}

favoriteMenu ul li {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
}

#favoriteMenu ul li a {
    background: no-repeat center 0;
}

#favoriteMenu ul li a {
    padding-top: 84px;
    display: block;
    min-width: 105px;
    line-height: 140%;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: var(--bs-main);
    text-decoration: none
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover,
.hover-lift:focus {
    transform: translateY(-8px);
 }


/* 관련 사이트 배너 공통 스타일 */
.related-banner {
    height: 70px; /* 로고 박스의 고정 높이 (디자인에 맞게 조절하세요) */
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s ease; /* 부드러운 애니메이션 효과 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* 기본 상태의 아주 미세한 그림자 */
}

/* 배너 안의 로고 이미지 스타일 */
.related-banner img {
    max-height: 60px; /* 이미지가 박스를 벗어나지 않도록 최대 높이 지정 */
    max-width: 100%;
    opacity: 0.8; /* 기본 상태에서는 살짝 흐리게 처리 (선택사항, 깔끔해 보임) */
    transition: opacity 0.3s ease;
}

/* 마우스 호버 효과 */
.related-banner:hover, .related-banner:focus {
    transform: translateY(-3px); /* 위로 살짝 떠오르는 효과 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* 그림자 진해짐 */
    border-color: #144D3A !important; /* 사이트 메인 컬러인 딥그린으로 테두리 변경 */
}

    /* 마우스 호버 시 로고 이미지 선명해짐 */
.related-banner:hover img, .related-banner:focus img {
    opacity: 1;
}

@media (min-width: 768px) {
    #favoriteMenu h2 {
        width: 175px;
        border-radius: 16px 0 0 16px;
    }

    #favoriteMenu ul {
        width: calc(100% - 175px);
    }
}